/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ar.com.educacionit.base.utils;

/**
 *
 * @author Educacionit
 */
public class Validador {
    public boolean isNumber(String numeroString){
        try{
            Integer.parseInt(numeroString);
            return true;
        }catch(Exception e){
            return false;
        }
    }
    public boolean isEmpty(String string){
        if("".equals(string))
            return true;
        else
            return false;
    }

}
